#pragma once
#include <iostream>
#include <string>
class Task{
    public:
        Task(int a, int b)
        : _a(a)
        , _b(b)
        {}
        Task(){}
        void Excute(){
            _result = _a + _b;
        }
        void operator()(){
            Excute();
        }
        std::string debug(){
            std::string msg = std::to_string(_a) + " + " + std::to_string(_b) + " =?";
            return msg;
        }
        std::string result(){
            std::string msg = std::to_string(_a) + " + " + std::to_string(_b) + " = " + std::to_string(_result);
            return msg;
        }
    private:
        int _a;
        int _b;
        int _result;
};